﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="weba.WebForm2" %>

<%@ Register Assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20133.145, Culture=neutral, PublicKeyToken=9b75583953471eea" Namespace="C1.Web.Wijmo.Controls.C1AutoComplete" TagPrefix="wijmo" %>

<%@ Register assembly="C1.Web.Wijmo.Extenders.4, Version=4.0.20133.145, Culture=neutral, PublicKeyToken=9b75583953471eea" namespace="C1.Web.Wijmo.Extenders.C1Input" tagprefix="wijmo" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        .ysa {
            float: left;
            width: 600px;
            vertical-align: middle;
        }
        #container {
            height: 400px;
            width: 640px;
            float: right;
        }
        .pangdt {
            overflow: visible;
        }
        .ysab {
            width: 280px;
            float: left;
            height: 900px;
            overflow: auto;
        }
        .tpd {
            overflow: visible;
            width: auto;
            height: auto;
        }
    </style>
    
<script type="text/javascript" src="Scripts/ditujs.js"></script>
</head>
<body onLoad="initialize()">
    <form id="form1" runat="server">
    
        <div><div class="tpd">
        搜索所有网点数据：<wijmo:C1AutoComplete ID="C1AutoComplete1" runat="server" DataCategoryField="name" DataLabelField="name" DataMember="DefaultView" DataSourceID="LinqDataSource1" DataValueField="name"></wijmo:C1AutoComplete>
        <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="weba.sjklqDataContext" EntityTypeName="" TableName="dituwz">
        </asp:LinqDataSource></div>
        <asp:Panel ID="Panel1" runat="server" ScrollBars="Vertical" Width="950px" CssClass="pangdt" Height="980px">
             <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="True">
            <Services>
                <asp:ServiceReference Path="wajax.asmx"  />
            </Services>
        </asp:ScriptManager>
       <div class="ysab">
        <asp:TreeView ID="TreeView1" runat="server" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged" ></asp:TreeView>
        
        </div>
      <%--  <iframe name="ybf" width="640px" height="500px" style="float: right" id="fm" src="dituxianshi.aspx"></iframe>--%>
            <div id="container"></div> 
            <div class="ysa">
            后退：<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/fanhui.jpg" Height="80px" Width="80px" OnClick="ImageButton1_Click" />
              刷新： <img alt="" src="Images/shuaxing.jpg"width="80px" height="80px" onclick="javascript: window.location.reload();" />
         清空：  <img alt="" src="Images/qingchu.jpg" width="80px" height="80px"  onclick="javascript:      window.location.href='treewz.aspx';" /> 定位： <img alt="" src="Images/dingwei.jpg" width="80px" height="80px"   onclick="javascript:toolBar.doLocation()" /> 
                <br/> <br/> 
                
                <asp:Button ID="Button1" runat="server" Text="搜索" />

            </div>
             </asp:Panel>
       </div>
        </form>
    
   
</body>
</html>